package deploy

import (
	"github.com/twwch/gin-sdk/mongoBase"
	"twwch/k8s-admin/config"
)

type repoMongo struct {
	*mongoBase.Base
}

// NewRepoMongo NewRepo creates a new repository.
func NewRepoMongo() *repoMongo {
	return &repoMongo{
		Base: mongoBase.NewBase(config.Get().Mongo.K8sAdmin, "k8sAdmin", "deploy"),
	}
}

func (repo *repoMongo) GetBase() *mongoBase.Base {
	return repo.Base
}
